package com.wantup.dubbo.mock;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Hello world!
 */
public class MockProviderApp {
    public static void main(String[] args) throws IOException {
        //System.out.println( "Hello World!" );
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-mock-provider.xml");
        context.start();//创建容器 读取配置文件
        //此方法 会抛异常
        System.in.read();
    }


}
